import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/h5',
    name: 'h5',
    component: () => import('../views/H5.vue')
  },
  {
    path: '/p3-24',
    name: '24',
    component: () => import('../views/page3-24.vue')
  },
  {
    path: '/progress',
    name: 'progress',
    component: () => import('../views/progress.vue')
  },
  {
    path: '/dataLookOver',    //百间夜招募报表
    name: 'dataLookOver',
    component: () => import('../views/report/dataLookOver.vue')
  },
  {
    path: '/reportDateils',   //百间夜招募报表详情
    name: 'reportDateils',
    component: () => import('../views/report/reportDateils.vue')
  },
  {
    path: '/welcomeConfig',   //欢迎语配置
    name: 'welcomeConfig',
    component: () => import('../views/welcomeConfig.vue')
  },
  {
    path: '/royaltiesCollect',   //中介转化报表   提成汇总表
    name: 'royaltiesCollect',
    component: () => import('../views/report/royaltiesCollect.vue')
  },
  {
    path: '/empDetailsList',   //员工转化明细
    name: 'empDetailsList',
    component: () => import('../views/report/empDetailsList.vue')
  }

  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
